package com.cloud.bc.controller.pc;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.bc.controller.BaseController;
import com.cloud.bc.model.domain.UserInfo;
import com.cloud.bc.model.entity.BcNotices;
import com.cloud.bc.service.BcNoticesService;
import com.cloud.bc.service.BcUsersService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

//PC系统消息
@Controller
@AllArgsConstructor
@RequestMapping("center/notice")
public class PcCenterNoticeController extends BaseController {
    private final BcUsersService bcUsersService;
    private final BcNoticesService bcNoticesService;
    /**
     * 系统消息
     */
    @GetMapping("")
    public ModelAndView index(HttpServletRequest request, HttpServletResponse response) {
        ModelAndView view = baseView(request,"系统消息-用户中心", "pc/center/notice/index");
        view.addObject("bodyCss", " page_chat_dialogue");

        return view;
    }

}
